#set(seoTitle="搜索结果")
#@layout()
#define main()

<div class="aw-container-wrap">
	<div class="container">
		<div class="row">
			<div class="aw-content-wrap-new clearfix">
				<div class="col-sm-12 col-md-12 center">
					<!-- tab切换 -->
					<ul class="nav nav-tabs aw-nav-tabs h-content">
						<h2><p><i class="icon icon-list"></i>搜索 - <span id="aw-search-type" style="color: red;">#(search)</span></p></h2>
					</ul>
					<div class="aw-mod">
						<div class="mod-body">
							<div class="aw-common-list">
								#for(x : articleSearch.getList())
								<div class="aw-item article h-content">
									<div class="aw-question-content">
										<h4 class="aw-title">
											<a href="/detail/#(x.aid)" target="_blank">#(x.title)</a>
										</h4>
										<p>
											<span class="text-color-999">
												<img src="/upload/avatar/#(x.avatar)" alt="#(x.nickName)" class="h-content-avatar"/> <a href="/user/detail/#(x.uid)" >#(x.nickName)</a>
												#if(x.is_auth==1)<i class="icon-v " title="个人认证"></i>#end
												<span>评论：#(x.replyCount)</span>
												<span>收藏：#(x.favoriteCount)</span>
											</span>
										</p>
									</div>
								</div>
								#end
							</div>

							<!-- 分页 -->
							<div class="mod-footer">
								<div class="page-control">
									#@paginate(articleSearch.pageNumber, articleSearch.totalPage,  "/search?q=" + search + "&p=" )
								</div>
							</div>
						</div>						
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

#end